import {
	defineStore
} from 'pinia';
import {
	toast
} from '../utils/common';

export const useCartStore = defineStore('index', {
	state: () => {
		return {
			cartList: "",
			order:"",
			cartOrder:""
		};
	},


	actions: {
		addCart(ct){
			this.cartList =""
			this.cartList = ct
		},
		addOrder(ct){
			this.order = ""
			this.order = ct
		},
		addCartOrder(ct){
			this.cartOrder = ""
			this.cartOrder = ct
		}
		
	},
});